bug fix logtimestamp error