Fixed an issue in Util.cs.