remove extra dashes