fixed connection pool problem