minor changes in the logging