rm some useless code