remove redundant slashes in uninstall