fix grep command
fix script error