remove directories from codemirror
remove directories from codemirror