redirect whitespace to dashes