Fixed 'bad opcode' exception