small changes at table.sh