Fix a console log output