fixed type in the SMDemoViewController.m