fix some bugs

indexer, asidebar, ui, etc.