fixed tabs removing and UI updating