bugfix: joint prop

correctly identify the row and col of a two-way table.