check for active profile