Fix bug in place-holder replacement.