Update Tools.java

Fixed random silly errors.