fixed None issue on page2.py