minor changes to ui and api