frontend photos-delete after validation bug fixed