update utils/utils.py.