fix console usage