fixed adding multiple after-change-functions