It could be an internal parasite or an internal bacterial infection, you'll have to decide which.
A bacterial infection is common, the fish will be bloated or swollen and lethargic.
Internal parasites aren't too common, they're usually introduced to the tank via a new fish. Lethargy and emaciation are the best ways to diagnose a parasite. Also worms coming from the anus are another sign.
So...if they all seem thin and you're certain it's not a bacterial infection, treat with the Fungus med. You may want to follow up with an anti-bacterial med to prevent a secondary infection.