changed NSLog in failure callback sample code