fixed ckeditor throwing exception