minor cleanup in addprocs