Fix base key set empty problem, beautify the UI.