It takes a balance of Alkalinity, Calcium, and Magnesium to keep this from happening. I hope you're testing your water to see what these levels are. Never add anything to your tank before testing to see if it even needs it, and always test afterwards to make sure you aren't under-dosing or...