Bugfix for link loop.