fix some instr bug