Fixed main bug
Reset logging levels