fixed curly brackets