trivial logging fixes