fixed ref/unref for readers
Merge pull request #1334 from gsomix/feature/parser

Bugfixes