cleaned up validation errors