Gist API fix