fixed bug with categories filter