Hi, Jennifer,

You need to fix or replace your filter. Dirty water should never be returned to the pool if your filter is working.

I don't have a cartridge filter but you might inspect the cartridge carefully to check for rips, holes, etc.

I would guess that dirty water back to the pool is contributing heavily to any algae issues your dealing with.