remove dead leftover code