fix bugs and add opcode re pattern