Fixed parameter "spelling error"

'newView' was declared 'view' was used.