Fixed the PID issue in Checks.java