removes curly braces in the nickname