fix codemirror