unpack HOST and PORT error fix