fixed defect related to remote host