change the ui and fix exists bug