Fixing erroneous logs