correcting hostname var