fixed categories filter bug