refine the title template