fix filter (bug from last commit)