handle nested column headers in table