fix nsa.tex compilation errors