add patch to support 404 returning empty-string