fix template_type error
Merge branch 'master' of https://github.com/rainaz/buydo