fixes crag index and other pages adding functionality