Mle fix link integrity check

It should work, but it's kind a mess