fix "shows 4 photos whether there is only 1 photo in last cell"