fixed problem with removing hosts entries on destroy command