fixed errors in table.java