* fix a bug: inlink, not $this->inlink.
 * code for task#1589.
 * fix a bug.