process header cells in simple table