[feature] remove dead code