Fixed obtaining variable from pool.