fix for condor loop