It can be tricky.
What is your nitrate reading at ?
What is your phosphate reading at.
Sometimes we this as a result of very very low nutrients.
Basically, scrub as much as possible and get it out of the tank(canister filter filter socks siphon etc. , dose good bacteria like dr tims one and only , and in some cases , dosing the nitrates and phosphates is needed.