Not sure about fixing it permanently, as I am not on that ROM, but all you need to do is re-flash Super SU in recovery, and you will have root again.