fixed  setting errors for single field validation