few logging changes