fix 1/2 of LINK main.c