fix error when loading several coeditor instances