Fix disabled links bug