diff --git a/account_ebics/static/description/index.html b/account_ebics/static/description/index.html
index 166dcc0..85f8856 100644
--- a/account_ebics/static/description/index.html
+++ b/account_ebics/static/description/index.html
@@ -1,4 +1,3 @@
-<?xml version="1.0" encoding="utf-8" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
diff --git a/account_ebics/wizards/ebics_xfer.py b/account_ebics/wizards/ebics_xfer.py
index 5293729..d64aae0 100644
--- a/account_ebics/wizards/ebics_xfer.py
+++ b/account_ebics/wizards/ebics_xfer.py
@@ -442,7 +442,7 @@ class EbicsXfer(models.TransientModel):
         return ebics_file
 
     def _payment_order_postprocess(self, ebics_file):
-        active_model = self.env.context.get("active_model")
+        active_model = self.env.context.get("model")
         if active_model == "account.payment.order":
             order = self.env["account.payment.order"].browse(
                 self.env.context["active_id"]