fixed #23: Form.submit_fields() do not take care of index correctly