fix rollback/commit index.html issues