change to return nil instead of raising errors
bump version to 1.0.2