consoleWriter and DBWriter fixed