fix the type at the index.html