fix sticky migration and sanitize ckeditor output