delete the links