minor change on logging