corrected path param replacement