fixed bug in table group
added table command