Fix placeholder substitution.