fix page navigation