Ending brace out of place