little fix to work with redactor-rails