fix error with non editor tabs