remove links when disabled