Bump version to 1.2.0
Fixed warnings