Fix syntax error

There was a superfluous closing brace and some bad indentation.