fix bug for short string convert

i found bug at short string converting. thx