Hack to fix setting df while spawned