Fix curly brackets on wrong line causing build error