category bug fixes