Trying to fix the outputing of profile id