Fixed bug in uninstall system