fixes #6: separate the filters from the stats directive