change up valid page stuff