changed the order of processuid and processgid in checkpid and checkprocessmatch erbs