fixed connection error