fixed index page navigation bug