Disabling the unavailable links