Fixed multi-category bug