fix generate list tool