Update pool.py

fix leased table