remove invalid instruction