fix for job threads