fixed editor issue