fix access to protected variable after splitbrain/dokuwiki#555. fixes #10, #11