Patch for tutorial (minor code error)