fix bug with photo checked in index page and in anekta page