fixed bug related to the addition of "/*" on sub path param