bugfix linkTo without args

Fixes issue #512