Fixing logs