Fixing response is null error.
Merge pull request #8 from mikeal/patch-1

Fixing response is null error.