correct sub merge