Fix resolving host