fixed ui problem