fixed model dissapearing param bug