category bug fix