correct IFS rules