try to prevent PWLib Assertion fail: Invalid array index, file ../common/collect.cxx, line 1572, class PDictionary