handled no photos on ui