purge the links upon uninstall