Fixed detectFaults