fix the uninstall bug