remove pool_size if nullpool