fixing console log message