fix a small typo in documentation

This corrects a few small glitches in the example of the controller in the documentation page