small logging improvement