SPRINGFIELD, Ill. (NEXSTAR) – Senate Democrats filed an amendment they believe fixes the problems that have plagued the SAFE-T Act for months.

Early Wednesday morning, Senator Robert Peters (D-Chicago) filed an amendment clarifying several items in the SAFE-T Act. Most of the changes in the amendment focus on tightening up vague language that left law enforcement and prosecutors confused about how the new system would work.

“The idea is that, again, we still have a detention that that is very clear, judges have discretion within that detention,” Peters said. “And they have discretion with a little bit more clarifying in the ‘willful flight’ standard to be able to detain people, but again, the intent and the core parts of this legislation remain intact.”

Illinois plans to pay off rest of pandemic unemployment debt

Over the summer, claims that police could not arrest trespassers under the new law ran rampant. The Supreme Court ruled that officers did have discretion to arrest in those cases, but the amendment makes it clear they will have the power to arrest anyone if they decide they pose a risk to the people around them.

The law also sets clear guidelines for what happens to the people in jail currently awaiting trial once Jan. 1 hits. Anybody in jail on Jan. 1 will get a pre-trial release hearing within at most 90 days starting from the first of the year if this amendment passes.

More felonies were also included into what is called the detention net, or the list of offenses that qualify somebody as a “real and present threat to the safety of any person or persons or the community”, and therefore should not get released pre-trial. Some of these felonies include second degree murder, aggravated driving under the influence, and burglary.

Legislators also changed the language for prosecutors detaining people they have evidence they view as a safety threat.

“At all pretrial hearings, the prosecution shall have the burden to prove by clear and convincing evidence that any condition of release is necessary,” the amendment reads.

IPPA, Department of Agriculture, donate hams to military families

Sen. Scott Bennett (D-Champaign), who previously filed an amendment on behalf of the state’s attorneys, has also signed on a co-sponsor to the bill.

House Democrats have also signaled they approve of the Senate’s amendment.

This is a developing story that will be continued to be updated.