Improved input validation on Slice/Sliver API
Merge branch 'bugfix'
the original statement did not work

syntax errors while debugging other errors are tricky to handle