Why did we get a $40,000.00 standard deduction on our Michigan return?

we did our state taxes for Michigan and are getting back all the taxes taken out of our checks and do not know why?