error in merge