delete unnecessary prev_words from shell snippet.
security fix