fix view after changes to model