Fix the ifs.