remove codemirror reference