Fix ClearRightImm and add the vm printf