change unsafe_view to view
Merge pull request #11 from cosinequanon/fix-deprecated-unsafe_view

change unsafe_view to view