Fixed variable names in profile class