optimize the dynasty page