fix a bug in work.py