clean urls for add/edit responses