bug fix : last one character