U.S. Immigration and Customs Enforcement does a poor job of managing its detention facilities that hold tens of thousands of immigrants awaiting hearings, rarely holds contractors accountable for lapsed standards and informally grants too many waivers to allow facility managers to avoid making repairs, a new report from the Homeland Security Department’s inspector general found.

From October 2015 to June 2018, “ICE paid contractors operating the 106 detention facilities subject to this review more than $3 billion,” the inspector general wrote in its conclusion. “Despite documentation of thousands of deficiencies and instances of serious harm to detainees that occurred at these detention facilities, ICE rarely imposed financial penalties.”

The 211 detention facilities that ICE manages, some of them directly and others indirectly under contract with local jails or the U.S. Marshals Service, house on average 35,000 detainees every day. The IG report looked at 106 of the facilities.

The report found that ICE managers too often used a very informal “waiver” program to excuse deficiencies, which allowed ICE facilities to fall short of national detention center standards.

Also Watch: As lawmakers begin to hash out border security, how do conference committees work?