fix bug with event6