change stop-query to page
fix pagebeforechange hook