fixed codemirror for dist build