modify common/utils.py