correct the logs