remove any allocations