Revert "Update util.cpp"

This reverts commit 3c723af47bb0b9c37940f28fe4395677a1ab92fe.