only attempt merge when necessary