I'm bad at Python, but did you mean to change this? was this part of the bug?