cleans up braces convention