added a quick fix for better simple_form support