Fix custom template
Merge pull request #615 from liuchuangww/user

Fix custom template