I fixed a small bug with missing curly brackets