fixed an example in docs