fix "{" and "}" problems in bundle