If the filter is really bad take it out and rinse it in a bucket of water FROM the aquarium NOT tap. It will kill less of the good bacteria but still rinse of some of the gunk if it really is bad.
If there is apt of gunk in there it probably means you are over feeding
Sent from my iPhone using Aquarium Advice