Fix bug with routing and dashes.