add working borders to table cells