max page try statement