changed require for redactor