log update
fix bug for java.lang.StringIndexOutOfBoundsException