Fix gist issues