Fixing codemirror