logging fixes #2