They’re behind bars, but you’re still paying their “salaries.”

State and federal officials say inmates across the country continue to collect millions each year in fraudulent unemployment benefits — often the result of oversight — with the most recent case in Pennsylvania, where more than 1,000 people collected benefits while behind bars.

Pennsylvania officials said this week the fraud occurred in county prisons because they failed to implement a system of cross-checking the Social Security numbers of benefit applicants, like they did with inmates in their state and federal prisons.

Republican Gov. Tom Corbett said his administration is correcting the problem. But the 1,162 inmates had already collected about $334 every week for more than four months, costing taxpayers roughly $7 million.