remove dependency on pidof