get table chain and some fixes