race page manager refactoring