Fixed improper ordering of closing braces