correct console hook