Bugfix renamed loglevel variable