fixed editor problem