Fixed var name error in profile view.