minor bugfix
log_level bugfix