Simplify code.
Merge pull request #25 from gmist/fetch_get

Simplify code