merge common part