Replacing instance variable with local variable to Profiles Views