fixed worker.c