fixing stupid bug in delete_host.py