fix page_query on mirror stuff