some changes to ui.R