diff --git a/hp4155/stress+sampling/stress_sampling_new.py b/hp4155/stress+sampling/stress_sampling_new.py
index 418e07a1575851ca7d5eb1bbd984fcb26b704c1c..541477cac5722dc3b95087c86caf5c9883c68474 100644
--- a/hp4155/stress+sampling/stress_sampling_new.py
+++ b/hp4155/stress+sampling/stress_sampling_new.py
@@ -68,7 +68,7 @@ all_widgets.append(button)
 ###################################################### end of widgets assignment   ####
 
 #connect to the device 
-device = module.HP4155a('GPIB0::17::INSTR')
+device = hp4155a.HP4155a('GPIB0::17::INSTR')
 
 #create tempfile
 temp_file= os.path.join(os.getcwd(),'tempfile.txt')