disable links if hidden