correctly save aliases after changing their list, closes #95
refer to the parent scope, closes #98, closes #97