hey
causes of hair algae are that low CO2 levels, low nutrient levels or a large ammonia spike..
its quite hard to deal with but there are a few ways to deal with it such as the use of seachem excel, or to buy some amano shrimp that eat it or make the co2 rate higher.
Ark