Just minor changes
the logging was wrong