You don't defeat it. Diatoms have nothing to do with your tank's parameters.... they feed on free silicates in your system, and once they're consumed, it will go away on it's own. Yes, it's ugly, but almost every new tank, fresh or salt, goes through it......