some fix for logging
some fix for logging