fixed the log console