fix publish photos