page system now properly working