categories index fixed if product pictures is nil