corrected bug related to empty category on prodect index page