clean ifs