Revise the index UI init