fixROIbug