fixed a log message being wrong