removes double hyphen