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