more gentle deleting id from main_photo