fixed connection test error