fix syntax issue in example