fixed redactor implementation