fix the end of ttf