prevent crash on malformed response