fixed bug with event [2]