You might try googling info on "planaria" . If this is what you are seeing, they are harmless to fish and are eaten by fish as well. Is said that overfeeding is sometimes the cause and that regular gravel vaccuming and cutting back on feed will keep them in check or perhaps eliminate them.