fixed bug related with category