Magnesium oxide is in most magnesium supplements because it is the cheapest form of magnesium available. If you want to finish those up you can take them with some unbuffered vitamin C. This will help to acidify the magnesium to magnesium ascorbate. Then in the future you can switch to the malate or citrate.
Calcium carbonate is also garbage. These include coral, dolomite, and oyster shell. Again these are the cheapest forms of calcium available, which is why they are so common. But as with the magnesium oxide and calcium oxide/hydroxide (lime), carbonates will neutralize stomach acid. That is why so many antacids, such as Tums, are made with calcium carbonate. Again, look for acidified forms such as calcium malate or citrate.