Fixed the bug about the 'template' question