fixed gist insertion