fixing log file and uninstall