Update utils.py

oops, this commit doesn't exist :)