Fixed category bug