fixing examples in docs