Fix for BackgroundWorkers