Avoid nil ptr.target
Reverted sax-parser