similarity fixup