remove dead allocation