remove some unneded stuff from the injected example index