fix URI::InvalidURIError: bad URI(is not URI?)
cleanup
Merge pull request #2 from daanforever/fix-uri-invalid_uri_error

fix URI::InvalidURIError: bad URI(is not URI?)