Fix interfacing with API if API returns "crap".