replace duplicate separators in title