Fix equation refs