Code fix for an IF ELSE

NOW COMPLIES