remove some not-must-used codes