fix gist bug