fixed lagrange2 incorrectly hardwiring lagrange2 in subtables