fix IOUS check for case statements