minor comment and logging fixes