improved bugs in index page