Added helper to show errors on model