fix for category view when its empty