updated handling of query arguments of page, and updated doc accordingly