logging fix?