Fix console log output