added parameters to path matching