fix error in index page example