fix event save issue