fixed ui reading bug