To fix that problem, you may purchase our gutter screen, that will protect the pipes from leaves and other debris.
You can also use
gutter strainers combined with out downspout leaf cleanouts.