Fix purge codemirror