Fix console usage