fixed "if"