remove trailing slash again.