clean and remove dead code