[IMP] remove dead code