handled escape characters in disco similarity module