debug : avoid signal get pid -1