fixing a bug in etProcessWid