fix flatHostsFile