Fixing editor problem