Fixed some errors in view copy
Merge branch 'sapns__copy_view_error' into master2