modify hand-err for index.html