Fix custom host
Merge pull request #612 from liuchuangww/user

Fix custom host