fix log wrap

Very small fix for issue #40