diff --git a/src/core/utils_old.py b/src/core/utils_old.py
index <HASH>..<HASH> 100644
--- a/src/core/utils_old.py
+++ b/src/core/utils_old.py
@@ -843,7 +843,7 @@ from src.widgets.matplotlibwidget import MatplotlibWidget
 
 def test():
     import sys
-    from PyQt4.QtGui import QMainWindow, QApplication
+    from src.qt.QtGui import QMainWindow, QApplication
     
     class ApplicationWindow(QMainWindow):
         def __init__(self):
diff --git a/src/parametres/paramData.py b/src/parametres/paramData.py
index <HASH>..<HASH> 100644
--- a/src/parametres/paramData.py
+++ b/src/parametres/paramData.py
@@ -23,11 +23,11 @@ This file is part of openFisca.
     
 from xml.etree.ElementTree import ElementTree, SubElement, Element
 from xml.dom import minidom
-from src.core.utils_old import Bareme
-from datetime import datetime
+from src.qt.compat import from_qvariant
 from src.core.config import CONF
+from datetime import datetime
 
-from src.qt.compat import from_qvariant
+from src.core.utils_old import Bareme
 
 
 class Tree2Object(object):
Strange bug solved by inversing imports in paramData