fixed title template bug