refine obj2table