improve diagnostics when no model given