only show alert on index page