Thousands of foreign workers mistakenly received economic stimulus checks from the U.S. government, likely because many filled out an IRS 1040 tax form instead of a nonresident 1040-NR form.

A U.S. Department of the Treasury Internal Revenue Service (IRS) 1040 Individual Income Tax form for the 2019 tax year is arranged for a photograph in Tiskilwa, Illinois, U.S., on Friday, March 20, 2020. Tax forms and payments wont be due to the Internal Revenue Service until July 15 this year, Treasury Secretary Steven Mnuchin said in a tweet, as the government looks for ways to respond to the coronavirus. Photographer: Daniel Acker/Bloomberg via Getty Images