fixing filter issues