bugfix: hosts should be clean if update_hosts twice