check profile name variable