Updated Utilities.java

still thanks to harrynoob for it in the first place