small fix for fields()->error