remove some instructions