trying to fix pool_init error