minor bug fix in ui/app.py