Fixed a bug in utilities.
Fixed a bug with utilities.