fix bug
log system