fix syntax in examples