modifying LinkGrammerWrapper interface a bit, bug-fix