correct the weak link initialization