bug fix -- assign table in gettable