Fixed the bug and it passes all my tests
But the old issue I ran into is happening again