fix how we are getting the host configurations