fix `console` usage