fixing navbutton visited