fix destroy photo
reject empty new photo attributes