getProfileData function name, and remove config setting