fixed bug where path urls with parameters where not correctly parsed