filtering by path endpoint