Fixed orphaned curly braces (thx Torben Falck)