fixed again the logging issues