fix validation for fields photo