braces and sign correction
Merge pull request #44 from yatsdev/braces

braces and sign correction