if they are worm like the are probably midge larvae, they might grow into bloodworms or similar...
otherwise might be copepods, maybe cyclops?
small fish love to eat both of those!
i am having the same issue in my nano, excpet i have both, worms and cyclops, i have a large rock and it looks...