correcting FUN.modelliteration