make more little changes to utils.py