Algae will grow and you should have a management team of herbivores in the tank to help keep that in check. Blue legged and scarlet hermit crabs help allot with algae as do herbivorous fish and the snails.
"Problem" algae - algae that grows faster than it can be managed is generally caused by