Fixed hostname bug