fix main_photo for new entity