fixes hosts order