fix the tty upper letter bug