no need to keep links as instance attribute

Attempt to fix #763