Improve process matching and typo fix.