fixed connection pool issue