fixed a bug when vars where empty when adding a host