revise template must bug