Fixed hostname&localtime issue