clean console impl