Fix, I'm an idiot that doesn't understand scope, and can't even copy/paste from someone else