some logs improvement