Fixed Link.autoId bug.