Removing use of global for views location