bug crash fixed on fav photo when there is not fav photos