fixed Table::getAttribute(). return type was wrong