fixed up wrapping of gists