fix the db pool