fix ActionView::Template::Error (undefined method `html_safe' for nil:NilClass):