Removing extra dashes