added a fix for logging