Fix variable and update index.html