Fix bug in notebook example