if() corrections