moved handleErrors in model mismatch