fix: send events when changing history