fix assign table on import