There must be a cause for the algae only on the sand to sort out, rather than just finding a way of keeping it clean, try sort out the course so you don't need to keep it in check. maybe too long photoperiod?
Perhaps just that little bit too much light letting algae get hold in the sand.