corrected if