Tutorial fixes.

Fixed typo and function call.