fixed undefined host
Merge pull request #4 from evelution/hotfix-undefined-host

fixed undefined host