Fix auton cycler

Previous version was giving a null pointer