fix bug with event saving