just realized i've been debugging the same line of code for 3 hours when the solution was literally changing one character lol