it should be splice not slice

it should be splice not slice