refine the build result.