Fix links deletion