bug correction on plot index 0
added a tab to edit plots