modify for Editor layer