Bugfix: segway hickup with double slashes or a slash at the end