fixed alignment issues in opcode