check links relative to root