fix conn error