fixed bug with filters