Gist api fix