deleted 'saved' event code.