fixed ui-codemirror bug