Fixed bug related with categoryid.