fixed detection of command line filters