Fixes a reference error that ruined the whole thing.
fuuuuuuuck