Bugfix handling nolog option