Fix error in SampleController.