fix slice example in readme