Fixing pidof problem

Fixed by rrwt7736