link library fix