Fix LNN program.