fix getString bug in LogHandler