removed some dsm and added a check to removed add more links to the saved values