Fix for config being passed to worker