fixed the view crashing when the model loads quickly.