Just in case anyone else has had this problem I found out that it was because I was burying the roots in the substrate and not fixing them to decor or rocks and they were not getting enough nutrients from the water. The roots need good circulating water.
