Fix form_data argument passing