small fix to filter