NATIONWIDE — A Texas senator is making the first move to make sure tragedies like what happened in Sutherland Springs don't happen again.

U.S. Sen. John Cornyn is expected to introduce a bipartisan bill Monday that he hopes would fix a 'broken' gun background check system, in light of last weekend's church shooting. It would require federal government officials to upload criminal information of servicemembers, which is what the Air Force didn't do in regards to the gunman.

The Air Force admitted last week that it neglected to enter the shooter's information in the system, which allowed him to buy firearms. Cornyn said current background checks is designed to weed out people with mental illness and convicted felons, which would've kept the gunman from buying guns if it worked like it should.

The senator hoped his proposed legislation would help narrow the margin of error. 

"When he went to purchase firearms, I believe four firearms if I'm not mistaken, he lied on his background check and the FBI background system — the so-called NICS system — failed," Cornyn said.

The NICS system — the National Instant Criminal Background System — is the database the FBI refers to before allowing someone to buy a gun.

But it's not perfect. In 2015, the Charleston church shooter was able get a gun due to a communication error between the FBI and local law enforcement. Nine people died in that shooting.