fix ckeditor switch to source fail