Fixing allocations removal