delete dependency for events