Fixing error with opcode