fix bug editor