corrected if cycles