Sorry if this train has run off it's tracks.
Do you mean cyanobacteria (BGA)?
Assuming it is, in planted tanks maintaining nitrates between 10-20ppm actually helps fix the problem. While in non-planted tanks it would be wiser to remove any NO3 with water changes. I do not dose KNO3 or PO4 much to non CO2 planted tanks, some folks do not at all, and they (I) do not get BGA in these tanks......but it does seem associated with it and poor plant growth in general.
What does seem to play a roll is high DOC levels and why IMHO, dirty filters are one of the causes. High DOC means the tank has high organic loading and higher oxygen demand, or BOD, biological oxygen demand.
With water changes, a good wet/dry filter, this issue usually goes away. The fix simply could mean more current, better nitrification of waste, more O2, less DOC/BOD in the water etc. This helps no matter what issues may or may not be present.
If cleaning the filter, improving water circulation, vacuuming the substrate and manually removing stuff doesn't fix the problem, it might be time to try a strong oxidizer like H2O2 or Potassium permanganate (KMnO4). This would reduce the underlying problem of high dissolved organic material. To be clear, in “clean” environments dosing H2O2 more than once every 4-hours may be problematic.
Assuming it is BGA, the only other thing I can suggest would be EM or a 3 day blackout. But that approach will not address the underlying cause. Some people with nice tanks have had small patches of BGA for years without it blooming or causing problems. I had it once in my substrate on the side of the tank facing the window. Better filtration and water flow seemed to help as well as a little tape along the glass to block the light. I could never get rid of it completely but it stopped it from spreading and reduced it mesurably. Dosing NO3 and PO4 for the plants did not seem to have an adverse effect.