one more fix for logging