Attempt to fix log bug