added beforechange event
v0.1.3