Also be sure your test for ph is accurate. If you are mistaken in the original number it can get very bad.
Get a ph meter and be sure it's calibrated. Better yet, balance calcium, magnesium, and alkalinity (calcium 420, mg 1280, and alk 8.3-9.3) and your ph will tend to stay in line. I don't trust ph adjuster chemicals in marine applications.