fixed bug with popular photos