merge tableformat