make sure there is no punctuation for the hostname

make sure there is no punctuation for the hostname