router pattern final slash fix