Get rid of the DSA lines in the ref