fixing validate_models if validation error hasn't messages (weird)