Fixed router path parsing issue