fix view bug templates/index.html