printLinks still buggy