fixed documentation example bug