fix gist code error