update fops/utils.py.