fixed editor modes bug