repair UI