small fix for ui.R