fix index page display when entry not exist