mint: remove trailing slash