small fixes/changes in SimilarityMap

small fixes/changes in SimilarityMap