fixed a regression that introduces new "Use of uninitialized value" warnings from perl.