Improve grammaticallity of the following paragraph
The disadvantage, however, is that because of the machines many people have lost their jobs
The disadvantage, however, is that, because of the machines, many people have lost their jobs.