Incredibly last-minute fix, because I'm an idiot.