fixed editor style and events