fixed the text UI