typo in variable name

correct name of extracted variable, 'profileEntities'