Fixing editor bug.