It's not related to this bug, but I think that we should keep one way to declare the variable in the same document (`var` or `let`, having a mix of them seems confusing)