fix for condor behaviour