added save event, but not working