remove some code