Make sure you have substitute players available for those positions, and lined up in the sub hierarchy. Do it manually, don't leave it to the AI. The AI will automatically try to sub the best players available, but if they're already in the lineup elsewhere, the starter will continue to play.