fixed ui for db