fixed splice
Merge pull request #49 from continnd/master

making sure code is up to date