minor fixes
traceback error in the log file