rectified the forward slash bug in the router