fixed editor problems