fix bug on events