Fix bug in place-holder replacement.
Fix route match.