fixed syntax error in examples in the docs