extend filter with a path parameter. Fixes #12
merged with master