fix page references for edit/save