fallback to hash if response is invalid