fixing example in documentation