change routing style: replace space with dash (-)