diff --git a/iexcode/instruments/cameras.py b/iexcode/instruments/cameras.py
index 579ca3e3c9a9ab6ea2feb6af3d91cecfde54194c..c41d35c0ff259363db58d3574cd7e0dd31600fda 100644
--- a/iexcode/instruments/cameras.py
+++ b/iexcode/instruments/cameras.py
@@ -33,7 +33,7 @@ def _enable_endstation_cameras(unused_off=True):
     unused_off=True turns off other cameras
 
     """
-    endstation=iex.BL.endstation
+    endstation=iex.BL.endstation_name
 
     #For new endstation modify here:
     cam_dict={'ARPES':[0,1,2],'Kappa':[3,4,6]}  # index of cam_list 
@@ -116,4 +116,4 @@ def cam_done(cam_num):
     """
     ADtype='TIFF'
     ADplugin = _pv_dictionary()[cam_num]+ADtype+":"
-    AD_Done(ADplugin,**kwargs)
\ No newline at end of file
+    AD_Done(ADplugin,**kwargs)