Fixes gsub bug on profile name