fix table cell attributes