fixed minor bug where OP_REG_Y should have been OP_REG_Z