Fix links bug