add closebrackets