Update page_provider.py

revert of a previous change