don't crash if HTTP response is nil