check link of button to root