remove stray curlybraces