fix category bug