fix bug about 'grep -v'