Not sure what type worm your talking about, but may be a bristle or peanut. :confused: It may be a new hatching. They won't hurt anything if that is what they are.
I would try to eliminate the bubble algae if you can. I've never had it, but they say it will spread like crazy. By then you may...