fix preserve-hosts option