fixed adjacent linking error