more logging fix