refine whole structure