remove "-" and "profile" from profile IDs