codemirror field fix