Suggested fix for  #106
Merge pull request #115 from CognitionGuidedSurgery/log_bug_fix

Suggested fix for  #106

at least it breaks nothing....