fix bug in reassembling upper half of the table