eliminating the gist ghost text issue