simple logging fixes