fixed clearing in the photos page