fixed a compile error on java 6 in tables