change hostname to localhost