Add braces to if statement
Bump version to 1.2