template updates
updated to fix as_slice() bug
Merge pull request #42 from jangahroo/master

(fix) fixed as_slice() bug