fix set similarity bug