update example 4-16

fix bug