Fixed tag_cmp.
Fixed print_table.