Fix link debug messages