bug fix in photo category