cleanup log mess