fix example 6