Fix double assignment

I'm so bad at this