Fixed an example of using buildKey in the doc

Fixed an example of using buildKey in the doc