fix get photo statistic