add back console log handler