oops braces in wrong place
Merge pull request #21 from tianyuliu/braces

fix braces