fix import error
diff --git a/xos/ec2_observer/syncstep.py b/xos/ec2_observer/syncstep.py
index 173510f..72adb87 100644
--- a/xos/ec2_observer/syncstep.py
+++ b/xos/ec2_observer/syncstep.py
@@ -1,6 +1,9 @@
 import os
 import base64
 from datetime import datetime
+
+from django.db.models import F, Q
+
 from xos.config import Config
 from util.logger import Logger, logging
 from observer.steps import *