fixed working state for editor component