[events]fixed a bug