compatibility with form_for