When both species are young they both eat most types of algae, including hair algae but as they mature they both get large, and normally lose their interest in algae altogether. It's actually better for the tank for you to find the reason your getting algae and correct it as algae eaters shouldn't be used to try to control algae problems. Try turning lights down to 6 hours running time daily until algae is gone and then slowly raise the photoperiod after that. Usually 8 hours is all you need unless you have low light which can often be run longer hours.
Then is the tank planted? If so do you use liquid carbon or CO2? What about ferts?
What type lighting do you have and how long do you run it daily?
Do you know your nitrate and phosphate levels?
Many types of algae, like hair algae can be easily spot treated with hydrogen peroxide 3% to kill it off.