simple fix for incorrect failure count