corrected a routing problem when clearing the logs
fixed a bug when the taskcleaner does not delete a node