fix #9 handle collection "reset" event