Fix a typo that generates excess slash.