checkslice only once