fixes Log levels and indents