removed auto page stuff