modify for editor