re-fix the mistaken CodeEditor check