Fixed bug in table element