Small logging fix