empty gist node before appending gist content again to prevent double append