handle event happen event