Fixed removal of curly brackets