work around gist 502 errors