diff --git a/tupak/gw/detector.py b/tupak/gw/detector.py
index 2e485409042a07008353312b9e3dbf91f39296e2..21f2dee3b54d1d6bfd72dca81b1497d9dad05583 100644
--- a/tupak/gw/detector.py
+++ b/tupak/gw/detector.py
@@ -7,7 +7,7 @@ import numpy as np
 from scipy.signal.windows import tukey
 from scipy.interpolate import interp1d
 
-import tupak.gw.utils as gwutils
+from tupak.gw import utils as gwutils
 from tupak.core import utils
 from tupak.core.utils import logger
 from .calibration import Recalibrate