how to remove some code