changed a pattern for grep while killing proccesses