bugfix: log.txt did not get removed