fixed bug when new model is detected