minor cleanup in addprocs
Merge pull request #3669 from amitmurthy/amitm/mfixup

minor cleanup in addprocs