fixed issue with company in getHostnames