fix silly bug, splice() !== slice()... add some commentation