fixes for splice
Merge pull request #1 from davidcalhoun/patch-1

fixes for splice