fixed validations when uploading providers