a couple fixmes related to allocations