small logging fix