don't try to parse null response. closes #56