Fixing WorkerFlask