fix add gist file problem