apply codemirror fix