fixed edit/save linking problems.