fix defect in loadPLib() that mess up S52ObjectHandle