make sure we're only using path param if it's present. closes #15