[IMP]remove unused code