remove spaces around dashes