fixed host error when used with multiple machines