fix the PWMSimilarity