corrected the dynamic urls variable name