fixed connection with wrong hostname