more logging corrections