fix an error about extract

The example of `extract` should output 14, not 3