tiny fix to logging