clean up UI sample